#include "deadProxyEventLogMessage.h"
IMPLEMENT_DYNAMIC_CLASS(wxLogMessageEvent, wxEvent);
DEFINE_EVENT_TYPE(wxEVT_LOG_MESSAGE);

wxLogMessageEvent::wxLogMessageEvent(wxEventType commandType, int id)
{
    SetEventType(wxEVT_LOG_MESSAGE);
    SetId(wxLOG_MESSAGE_ID);
    output = 0;
}

void wxLogMessageEvent::SetMessage(wxString *message)
{
    output = message;
}

wxString * wxLogMessageEvent::GetMessage()
{
    return(output);
}

wxLogMessageEvent::~wxLogMessageEvent()
{
    if(output != 0)
    {
        delete output;
    }
}
